﻿using SqlSugar;

namespace CommonBaseEntityDb.Db
{
    public class TestExSugarRespository<T> : SimpleClient<T> where T : class, new()
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context">数据库操作类</param>
        public TestExSugarRespository(ISqlSugarClient context = null) : base(context)
        {
            base.Context = DbContext.TestSugarDb;
        }
    }

    public class TemplateExSugarRespository<T> : SimpleClient<T> where T : class, new()
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context">数据库操作类</param>
        public TemplateExSugarRespository(ISqlSugarClient context = null) : base(context)
        {
            base.Context = DbContext.TemplateSugarDb;
        }
    }
}
